$(function () {
    $(".head").load("head.html")
    $(".top").load("gw.html")
    $.post("news/removeGWC",{"address":localStorage.idz,"prices":localStorage.prices,"out":localStorage.out},function (data) {
        console.log(data)
        if(data.la==1){
            $(".dingdan").append(
                "<p style='color: red'>"+data.msg+"</p>"
            )
        }else {
            $(".dingdan").append(
                "             <tr height=\"35\">\n" +
                "                <td style=\"font-size:18px;\">\n" +
                "                \t感谢您在本店购物！您的订单已提交成功，请记住您的订单号: <font color=\"#ff4e00\">"+data.dd+"</font>\n" +
                "                </td>\n" +
                "              </tr>\n" +
                "              <tr>\n" +
                "                <td style=\"font-size:14px; font-family:'宋体'; padding:10px 0 20px 0; border-bottom:1px solid #b6b6b6;\">\n" +
                "                \t您的配送方式为: <font color=\"#ff4e00\">申通快递</font>； &nbsp; &nbsp;您选定的支付方式为: <font color=\"#ff4e00\">支付宝</font>； &nbsp; &nbsp;您的付款金额为: <font color=\"#ff4e00\">￥"+data.zong+"</font>\n" +
                "                </td>\n" +
                "              </tr>\n" +
                "              <tr>\n" +
                "                <td>\n" +
                "                \t<a href=\"http://localhost:7777\">首页</a> &nbsp; &nbsp; <a href=\"http://localhost:7777/Member_User.html\">用户中心</a>\n" +
                "                </td>\n" +
                "              </tr>"
            )
        }
        // location.reload()
    })
})